package com.ifonly.common.typeconverter;

/**
 * @author <a href="mailto:ifonlymaster@163.com">ifonly</a>
 * @version 1.0 2015-12-17 19:51
 * @since JDK 1.6
 */
public class TypeConversionException extends RuntimeException {

    private static final long serialVersionUID = -3169374406162993633L;

    public TypeConversionException(Throwable t) {
        super(t);
    }

    public TypeConversionException(String message) {
        super(message);
    }

    public TypeConversionException(String message, Throwable t) {
        super(message, t);
    }

    public TypeConversionException(Object value) {
        this("Conversion failed: " + value);
    }

    public TypeConversionException(Object value, Throwable t) {
        this("Conversion failed: " + value, t);
    }

}
